package day04;

public class txt4 {
    public static void main(String[] args) {
        int i=1;
        String s=i+",";
        while (i<10){
           i++;
           s = s+i;
           if (i<10){
             s= s + ",";
           }


        }
        System.out.println(s);
    }
}
